/*
** putnbr.c for lol in /home/deubel_j//colle
** 
** Made by james deubelbeiss
** Login   <deubel_j@epitech.net>
** 
** Started on  Mon Apr 18 22:43:15 2011 james deubelbeiss
** Last update Mon Apr 18 22:47:58 2011 james deubelbeiss
*/

void	my_putchar(char c)
{
  write(1, &c, 1);
}

void	my_putnbr(int n)
{
  if (n >= 10)
    {
      my_putnbr(n / 10);
      my_putnbr(n % 10);
    }
  else
    my_putchar(48 + n);
}
